/* =========================
   GLOBAL
========================= */

html {
  scroll-behavior: smooth;
}

body {
  background-color: #eeef0;
  background-image: url("https://jbu_ftp.sidearmsports.com/custompages/css/gameday/background-blue-repeat.jpg");
  background-repeat: repeat;
}


/* =========================
   HEADINGS
========================= */

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  margin: 10px 0 20px;
  background: linear-gradient(
    to right,
    #1a1a1a 0,
    #1a1a1a 10px,
    #124e84 10px,
    #124e84 80px
  );
}

.subtitle-divider {
  display: block;
  width: 80px;
  height: 2px;
  margin: 10px auto 20px;
  background: #1b76c7;
}


/* =========================
   HERO
========================= */

.container {
  position: relative;
  width: 100%;
  max-width: 1366px;
  height: 500px;
  margin: 0 auto;
  background: linear-gradient(
    to right,
    #124e84,
    #1b76c7
  );
  background-position: center;
  background-size: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
}

.left-column {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.intro-text h1 {
  margin-bottom: 20px;
  padding: 0 70px;
  color: #fff;
  font-size: 40px;
}

.intro-text p {
  max-width: 600px;
  padding: 0 70px;
  color: #fff;
}


/* =========================
   HERO BUTTONS
========================= */

.buttons {
  margin-top: 15px;
}

.buttons a {
  display: inline-block;
  width: 135px;
  height: 45px;
  margin: 5px;

  border: 1px solid #fff;
  background-color: transparent;

  color: #fff;
  font-size: 16px;
  line-height: 45px;
  text-align: center;
  text-decoration: none;

  cursor: pointer;
  transition:
    background-color 0.25s,
    border-color 0.25s;
}

.buttons a:hover {
  background-color: #1b76c7;
  border-color: #f9ca24;
}


/* =========================
   HERO IMAGE
========================= */

.right-column {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.right-column img {
  display: block;
  max-width: 800px;
  height: auto;
}


/* =========================
   PARALLAX IMAGE
========================= */

.parallax-container {
  height: 40vh;
  background-image: url("https://jbuathletics.com/images/2024/10/28/regal-tp-game-2024.jpg");
  background-position: center 30%;
  background-size: cover;
  background-attachment: fixed;
  box-shadow:
    inset 0 0 50px rgba(0, 0, 0, 0.5);
}


/* =========================
   RESPONSIVE
========================= */

@media screen and (max-width: 768px) {

  .container {
    width: 100%;
    height: auto;
    background: #124e84;
  }

  .overlay {
    position: static;
    display: block;
    width: 100%;
  }

  .left-column {
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  .intro-text h1 {
    padding: 0;
    margin-bottom: 20px;
    font-size: 28px;
  }

  .intro-text p {
    padding: 0 20px;
    margin-bottom: 20px;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
  }

  .buttons a {
    width: auto;
    height: auto;
    margin: 10px 0;
    padding: 10px 20px;
    line-height: normal;
    white-space: nowrap;
  }

  .right-column {
    position: static;
    width: 100%;
    padding: 0;
  }

  .right-column img {
    width: 100%;
    max-width: none;
    height: auto;
    opacity: 0.75;
  }

  .parallax-container {
    background-attachment: scroll;
  }
}

@media screen and (max-width: 480px) {
  .parallax-container {
    background-position: top center;
  }
}